import request from '@/utils/request'

/**
 * 分页查询生产切换时间
 * @param selectSwitchTime
 */
export function selectSwitchTime(data) {
  return request({
    url: `/pp/p/switchTime/page`,
    method: 'post',
    data
  })
}

/**
 * 保存生产切换时间数据
 * @param saveSwitchTime
 */
export function saveSwitchTime(data) {
  return request({
    url: `/pp/p/switchTime/save`,
    method: 'post',
    data
  })
}

/**
 * 删除
 * @param deleteSwitchTime
 */
export function deleteSwitchTime(data) {
  return request({
    url: `/pp/p/switchTime/delete`,
    method: 'post',
    data
  })
}
